#include <iostream>
using namespace std;

class func1
{
public:
	func1(){}
	~func1(){}
public:
	void func()
	{
		cout<< "func() in func1" <<endl;
	}
};

class func2
{
public:
	func2(){}
	~func2(){}
public:
	void func()
	{
		cout << "func() in func2" << endl;
	}
};

class test :public func1, public func2
{
public:
	test() {}
	~test() {}
};

int main()
{
	test a;
	a.func1::func();
	a.func2::func();
	return 0;
}
